package com.investment.util.ThreadPool;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created by veicth on 2017/5/23.
 */
public class ThreadPool extends Thread{

    private static final ExecutorService executorService = Executors.newFixedThreadPool(50);

    public void test(){
        System.out.print("this is a test!");
    }
    public void TimerTaskThread(){
        List<String> listDemo = new ArrayList<String>();
//        executorService.invokeAll(listDemo);
    }
}
